browserFinishedLoading
Type
message
Summary
Sent when the given url has finished loading.
Syntax
browserFinishedLoading <pUrl>
Description
Handle the browserFinishedLoading message to perform an action when a URL has finished loading in a native mobile browser control created using mobileControlCreate.
The browserFinishedLoading message is sent to the object containing the script that created the mobile browser control using mobileControlCreate when the URL has finished loading.
The browserFinishedLoading message is sent in response to the webViewDidFinishLoad delegate method.
Parameters
Name | Type | Description |
---|---|---|
pUrl | The URL that has loaded. |
Examples
on browserFinishedLoading pURL
put "Finished loading:" && pURL into field "Status"
put pURL into field "URL"
end browserFinishedLoading
Related
function: mobileControlGet, mobileControlTarget, mobileControls
message: browserStartedLoading, browserLoadRequest, browserLoadFailed
command: mobileControlCreate, mobileControlDelete, mobileControlSet
Compatibility and Support
Introduced
LiveCode 4.5.3
OS
ios
android
Platforms
mobile